package com.fulihui.wgj.admin.integration;

import com.fulihui.common.result.web.PageView;
import com.fulihui.common.result.web.Result;
import com.fulihui.wgj.admin.api.subscribereply.request.SubscribeAdvertEditRequest;
import com.fulihui.wgj.admin.api.subscribereply.request.SubscribeAdvertPageRequest;
import com.fulihui.wgj.admin.api.subscribereply.vo.SubscribeReplyAdvertVO;

import java.util.List;

/**
 * @author: Levon
 * @date: 2018-07-31 09:55
 */
public interface SubscribeAdverseServiceClient {

    List<SubscribeReplyAdvertVO> queryAdvertList(String appId);

    Result<Boolean> del(Integer id);

    Result<Boolean> edit(SubscribeAdvertEditRequest request);

    PageView<SubscribeReplyAdvertVO> queryPage(SubscribeAdvertPageRequest request);

    Result<SubscribeReplyAdvertVO> queryById(Integer id);
}
